package org.example.springboot.convert;

import org.example.springboot.entity.ET;
import org.example.springboot.vo.ETVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 
*
* @author Fz
* @since 1.0.0 2024-07-31
*/
@Mapper
public interface ETConvert {
    ETConvert INSTANCE = Mappers.getMapper(ETConvert.class);

    ET convert(ETVO vo);

    ETVO convert(ET entity);

    List<ETVO> convertList(List<ET> list);

}